package cn.itcast.daomain;

import java.util.Date;

public class purchase {
    private int id;
    private String user_pur;
    private Date current;
    private Date current_dat;
    private int number;
    private String name;
    private String home;
    private Double pur_price;
    private String specs;

    private String address;

    private String comment;

    private int comment_id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUser_pur() {
        return user_pur;
    }

    public void setUser_pur(String user_pur) {
        this.user_pur = user_pur;
    }

    public Date getCurrent() {
        return current;
    }

    public void setCurrent(Date current) {
        this.current = current;
    }

    public Date getCurrent_dat() {
        return current_dat;
    }

    public void setCurrent_dat(Date current_dat) {
        this.current_dat = current_dat;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHome() {
        return home;
    }

    public void setHome(String home) {
        this.home = home;
    }

    public Double getPur_price() {
        return pur_price;
    }

    public void setPur_price(Double pur_price) {
        this.pur_price = pur_price;
    }

    public String getSpecs() {
        return specs;
    }

    public void setSpecs(String specs) {
        this.specs = specs;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public int getComment_id() {
        return comment_id;
    }

    public void setComment_id(int comment_id) {
        this.comment_id = comment_id;
    }

    @Override
    public String toString() {
        return "purchase{" +
                "id=" + id +
                ", user_pur='" + user_pur + '\'' +
                ", current=" + current +
                ", current_dat=" + current_dat +
                ", number=" + number +
                ", name='" + name + '\'' +
                ", home='" + home + '\'' +
                ", pur_price=" + pur_price +
                ", specs='" + specs + '\'' +
                ", address='" + address + '\'' +
                ", comment='" + comment + '\'' +
                ", comment_id=" + comment_id +
                '}';
    }
}
